package com.rk.kbk.dao;

import com.rk.kbk.model.Account;
import com.rk.kbk.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @AccountDao
 * @用户商家账户Dao
 * @version : Ver 1.0
 */
public interface AccountDao extends JpaRepository<Account, Long>,JpaSpecificationExecutor {
  Account findByUser(User user);

}
